package com.ruoyi.classes.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 话题对象 t_topic
 *
 * @author Bandit
 * @date 2022-11-01
 */
public class TTopic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 话题id */
    private Long id;

    /** 属于哪个班级 */
    @Excel(name = "属于哪个班级")
    private Long classId;

    /** 话题标题 */
    @Excel(name = "话题标题")
    private String title;

    /** 话题内容id */
    @Excel(name = "话题内容id")
    private Long contentId;

    /**
     * 内容
     */
    private String content;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setClassId(Long classId)
    {
        this.classId = classId;
    }

    public Long getClassId()
    {
        return classId;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setContentId(Long contentId)
    {
        this.contentId = contentId;
    }

    public Long getContentId()
    {
        return contentId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

}
